﻿namespace UtilZ.Dotnet.Ex.Json
{
    /// <summary>
    /// json序列化常量类
    /// </summary>
    public class JsonConstants
    {
        /// <summary>
        /// null值
        /// </summary>
        public const string NULL = "null";

        /// <summary>
        /// DateTime转换格式
        /// </summary>
        public const string DATET_TIME_FORMAT = "s";

        /// <summary>
        /// DateTimeOffset转换格式
        /// </summary>
        public const string DATET_TIME_OFFSET_FORMAT = "s";

        /// <summary>
        /// DateOnly转换格式
        /// </summary>
        public const string DATET_FORMAT = "yyyy-MM-dd";

        /// <summary>
        /// TimeOnly转换格式
        /// </summary>
        public const string TIME_FORMAT = "HH:mm:ss";




        /// <summary>
        /// 双引号
        /// </summary>
        public const char DOUBLE_QUOTES = '"';

        /// <summary>
        /// 左斜杠
        /// </summary>
        public const char LEFT_SLASH = '\\';

        /// <summary>
        /// 冒号
        /// </summary>
        public const char COLON_MARK = ':';

        /// <summary>
        /// 逗号
        /// </summary>
        public const char COMMA_MARK = ',';

        /// <summary>
        /// 左方括号
        /// </summary>
        public const char LEFT_BRCKET = '[';

        /// <summary>
        /// 右方括号
        /// </summary>
        public const char RIGHT_BRCKET = ']';

        /// <summary>
        /// 左大括号
        /// </summary>
        public const char LEFT_BRACE = '{';

        /// <summary>
        /// 右大括号
        /// </summary>
        public const char RIGHT_BRACE = '}';

    }
}
